home *** CD-ROM | disk | FTP | other *** search
/ Chip: 2005 Utilities / CHIP Utilities 2005 / CHIP Utilities 2005.iso / dosapps / freedos / help / move.en < prev    next >
Encoding:
Text File  |  2003-04-12  |  1.3 KB  |  28 lines

  1. Moves files and renames files and directories.
  2.  
  3. To move one or more files:
  4. MOVE [/Y | /-Y] [drive:][path]filename1[,...] destination
  5.  
  6. To rename a directory:
  7. MOVE [/Y | /-Y] [drive:][path]dirname1 dirname2
  8.  
  9.   [drive:][path]filename1 Specifies the location and name of the file
  10.                           or files you want to move.
  11.   destination             Specifies the new location of the file. Destination
  12.                           can consist of a drive letter and colon, a
  13.                           directory name, or a combination. If you are moving
  14.                           only one file, you can also include a filename if
  15.                           you want to rename the file when you move it.
  16.   [drive:][path]dirname1  Specifies the directory you want to rename.
  17.   dirname2                Specifies the new name of the directory.
  18.  
  19.   /Y                      Suppresses prompting to confirm you want to
  20.                           overwrite an existing destination file.
  21.   /-Y                     Causes prompting to confirm you want to overwrite
  22.                           an existing destination file.
  23.  
  24. The switch /Y may be present in the COPYCMD environment variable.
  25. This may be overridden with /-Y on the command line.  Default is
  26. to prompt on overwrites unless MOVE command is being executed from
  27. within a batch script.
  28.